package com.example.newbilityblog.blog.api.request;

import com.example.newbilityblog.config.BooleanJsonDeserializer;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class CreateBlogRequest {
    private String title;
    private String coverImage;
    private String content;
    private String sourceMarkDownContent;
    private String status;
    @JsonDeserialize(using = BooleanJsonDeserializer.class)
    private Boolean enableComment;
}
